﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Index_Top.aspx.cs"
    Inherits="V5_EShop.Admin.Admin_Index_Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="Css/css.css" rel="Stylesheet" type="text/css" />
    <!--#include file="inc/libs.aspx"-->

    <script type="text/javascript">
        function $$(id) {
            return document.getElementById(id);
        }
        function ShowTime() {
            now = new Date();
            hour = now.getHours();
            minute = now.getMinutes();
            second = now.getSeconds();
            var day = ["日", "一", "二", "三", "四", "五", "六", ];
            time_str = (hour < 10) ? ("0" + hour) : hour;
            time_str += ":";
            time_str += (minute < 10) ? ("0" + minute) : minute;
            time_str += ":";
            time_str += (second < 10) ? ("0" + second) : second;
            $$("TimeSpan").innerHTML = "" + (now.getFullYear()) + "年" + (now.getMonth() + 1) + "月" + (now.getDate() + 0) + "日 " + time_str + " 星期" + day[new Date().getDay()];
            setTimeout('ShowTime()', 1000);
        }

        function CheckBTN1(theObj, URL, URLmain) {
            $(theObj).addClass("button_down");
            if (URL != "") {
                parent.frames["menu"].location = URL;
            }
            if (URLmain != "") {
                parent.frames["main"].location = URLmain;
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="" width="100%">
        <tr>
            <td style="background: url(css/logo_bg.jpg); height: 46px;">
                <table cellpadding="0" cellspacing="0" style="width: 100%;">
                    <tr>
                        <td>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                        <td align="right">
                            <a href="Admin_Logout.aspx" class="Lion_1" target="_self">退出</a> | <a href="Admin_Admin.aspx?adminID=" class="Lion_1" target="main">修改密码</a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="background: url(css/menu_bg.jpg);">
                <div id="navi_index">
                    <table border="0" cellspacing="0" cellpadding="0" background="css/menu_bg.jpg">
                        <tr>
                            <td height="38" width="6">
                            </td>
                            <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" id="IDC_DownedBUtton" class="button_down" onclick="CheckBTN1(this,'Admin_Index_Left.aspx?menu=product','Admin_Product.aspx');">
                                发布商品
                            </td>
                            <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" class="button_down" onclick="CheckBTN1(this,'Admin_Index_Left.aspx?menu=article','Admin_Article.aspx');">
                                内容管理
                            </td>
                            <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" class="button_down" onclick="CheckBTN1(this,'','Admin_ProductOrder.aspx');">
                                订单管理
                            </td>
                            <%--  <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" class="button_down" onclick="CheckBTN1(this,'menu.aspx?Type=000000000003','Publish/site.aspx');">
                                发布管理
                            </td>--%>
                            <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" class="button_down" onclick="CheckBTN1(this,'Admin_Index_Left.aspx?menu=user','User/User_Index.aspx');">
                                用户中心
                            </td>
                            <td style="text-align: left; padding-left: 14px; width: 82px; background-repeat: no-repeat;
                                cursor: pointer" class="button_down" onclick="CheckBTN1(this,'Admin_Index_Left.aspx?menu=config','Admin_Config.aspx');">
                                控制面版
                            </td>
                            <td>
                                欢迎<%= AdminName%>登陆，现在是<span id="TimeSpan"></span>

                                <script type="text/javascript">
                                    ShowTime();
                                </script>

                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
